.class public Lcom/direction/hold/ui/CountActivity$HomeViewHolder;
.super Lcn/cheln/explorer/ui/b;


# instance fields
.field private a:Z

.field private synthetic b:Lcom/direction/hold/ui/CountActivity;


# direct methods
.method public constructor <init>(Lcom/direction/hold/ui/CountActivity;Landroid/view/View;Lcom/direction/hold/ui/CommonActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    invoke-direct {p0, p2, p3}, Lcn/cheln/explorer/ui/b;-><init>(Landroid/view/View;Lcom/direction/hold/ui/CommonActivity;)V

    return-void
.end method

.method private static a(Landroid/view/View;Lcn/cheln/explorer/ds/database/CategoryInfo;)V
    .locals 2

    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "----cateInfo"

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcn/cheln/support/app/c;->a(Ljava/lang/String;)V

    const v0, 0x7f080027

    invoke-virtual {p0, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iget-object v1, p1, Lcn/cheln/explorer/ds/database/CategoryInfo;->count:Ljava/lang/String;

    invoke-static {v1}, Lcn/cheln/support/app/a;->f(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v0, 0x7f080028

    invoke-virtual {p0, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p0

    check-cast p0, Landroid/widget/TextView;

    iget-object v0, p1, Lcn/cheln/explorer/ds/database/CategoryInfo;->size:Ljava/lang/String;

    invoke-virtual {p0, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    return-void
.end method

.method private a(Z)V
    .locals 7

    const-string v0, ":"

    const-string v6, " 0 B"

    const-string v1, ""

    :try_start_0
    const-string v0, ""

    const-string v0, ""

    if-eqz p1, :cond_2

    sget-object v0, Lcn/cheln/explorer/ds/a/b;->c:Ljava/lang/String;

    invoke-static {v0}, Lcn/cheln/support/app/a;->e(Ljava/lang/String;)Ljava/util/HashMap;

    move-result-object v0

    const-string v1, "availaBlocks"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    const-string v2, "totalBlocks"

    invoke-virtual {v0, v2}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    move-object v2, v1

    move-object v1, v0

    :goto_0
    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    const v3, 0x7f080010

    invoke-virtual {v0, v3}, Lcom/direction/hold/ui/CountActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v4, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    const v5, 0x7f050073

    invoke-virtual {v4, v5}, Lcom/direction/hold/ui/CountActivity;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, ":"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    const v3, 0x7f080011

    invoke-virtual {v0, v3}, Lcom/direction/hold/ui/CountActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    if-eqz p1, :cond_0

    :goto_1
    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    const v1, 0x7f080012

    invoke-virtual {v0, v1}, Lcom/direction/hold/ui/CountActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v3, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    const v4, 0x7f050072

    invoke-virtual {v3, v4}, Lcom/direction/hold/ui/CountActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v3, ":"

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    const v1, 0x7f080013

    invoke-virtual {v0, v1}, Lcom/direction/hold/ui/CountActivity;->findViewById(I)Landroid/view/View;

    move-result-object p0

    check-cast p0, Landroid/widget/TextView;

    if-eqz p1, :cond_1

    move-object v0, v2

    :goto_2
    invoke-virtual {p0, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_3
    return-void

    :cond_0
    const-string v1, " 0 B"

    move-object v1, v6

    goto :goto_1

    :cond_1
    const-string v0, " 0 B"
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-object v0, v6

    goto :goto_2

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_3

    :cond_2
    move-object v2, v1

    goto/16 :goto_0
.end method

.method private b(Z)V
    .locals 5

    const-string v0, ":"

    const-string v4, " 0 B"

    :try_start_0
    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    const v1, 0x7f08001e

    invoke-virtual {v0, v1}, Lcom/direction/hold/ui/CountActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    const v3, 0x7f050074

    invoke-virtual {v2, v3}, Lcom/direction/hold/ui/CountActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, ":"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    const v1, 0x7f08001f

    invoke-virtual {v0, v1}, Lcom/direction/hold/ui/CountActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    if-eqz p1, :cond_0

    invoke-static {}, Lcn/cheln/support/app/a;->c()Ljava/lang/Long;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Long;->longValue()J

    move-result-wide v1

    long-to-float v1, v1

    invoke-static {v1}, Lcn/cheln/support/app/a;->a(F)Ljava/lang/String;

    move-result-object v1

    :goto_0
    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    const v1, 0x7f080020

    invoke-virtual {v0, v1}, Lcom/direction/hold/ui/CountActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    const v3, 0x7f050072

    invoke-virtual {v2, v3}, Lcom/direction/hold/ui/CountActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, ":"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    const v1, 0x7f080021

    invoke-virtual {v0, v1}, Lcom/direction/hold/ui/CountActivity;->findViewById(I)Landroid/view/View;

    move-result-object p0

    check-cast p0, Landroid/widget/TextView;

    if-eqz p1, :cond_1

    invoke-static {}, Lcn/cheln/support/app/a;->a()Ljava/lang/Long;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Long;->longValue()J

    move-result-wide v0

    long-to-float v0, v0

    invoke-static {v0}, Lcn/cheln/support/app/a;->a(F)Ljava/lang/String;

    move-result-object v0

    :goto_1
    invoke-virtual {p0, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_2
    return-void

    :cond_0
    const-string v1, " 0 B"

    move-object v1, v4

    goto :goto_0

    :cond_1
    const-string v0, " 0 B"
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-object v0, v4

    goto :goto_1

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_2
.end method


# virtual methods
.method public final a()V
    .locals 8

    const v7, 0x7f080028

    const v6, 0x7f080027

    const v5, 0x7f080026

    const v4, 0x7f080025

    const v3, 0x7f080024

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->j:Landroid/view/View;

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    iget-object v0, v0, Lcom/direction/hold/ui/CountActivity;->d:Lcom/direction/hold/ui/CommonActivity;

    invoke-static {v0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f030003

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->j:Landroid/view/View;

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    iget-object v1, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->j:Landroid/view/View;

    iput-object v1, v0, Lcom/direction/hold/ui/CountActivity;->h:Landroid/view/View;

    :cond_0
    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->k:Lcom/direction/hold/ui/CommonActivity;

    iget-object v1, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->j:Landroid/view/View;

    invoke-virtual {v0, v1}, Lcom/direction/hold/ui/CommonActivity;->setContentView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    iget-object v1, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    const v2, 0x7f080008

    invoke-virtual {v1, v2}, Lcom/direction/hold/ui/CountActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/direction/hold/ui/CountActivity;->a(Lcom/direction/hold/ui/CountActivity;Landroid/view/View;)Landroid/view/View;

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    invoke-static {v0}, Lcom/direction/hold/ui/CountActivity;->b(Lcom/direction/hold/ui/CountActivity;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    const v1, 0x7f02002b

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    invoke-static {v0}, Lcom/direction/hold/ui/CountActivity;->b(Lcom/direction/hold/ui/CountActivity;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const v1, 0x7f050029

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    invoke-static {v0}, Lcom/direction/hold/ui/CountActivity;->b(Lcom/direction/hold/ui/CountActivity;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const-string v1, "  ?  "

    invoke-static {v1}, Lcn/cheln/support/app/a;->f(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    invoke-static {v0}, Lcom/direction/hold/ui/CountActivity;->b(Lcom/direction/hold/ui/CountActivity;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v7}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const-string v1, "0 B"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    invoke-static {v0}, Lcom/direction/hold/ui/CountActivity;->b(Lcom/direction/hold/ui/CountActivity;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iget-object v1, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    iget-object v1, v1, Lcom/direction/hold/ui/CountActivity;->E:Landroid/view/View$OnClickListener;

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    iget-object v1, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    const v2, 0x7f08000a

    invoke-virtual {v1, v2}, Lcom/direction/hold/ui/CountActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/direction/hold/ui/CountActivity;->b(Lcom/direction/hold/ui/CountActivity;Landroid/view/View;)Landroid/view/View;

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    invoke-static {v0}, Lcom/direction/hold/ui/CountActivity;->c(Lcom/direction/hold/ui/CountActivity;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    const v1, 0x7f02002d

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    invoke-static {v0}, Lcom/direction/hold/ui/CountActivity;->c(Lcom/direction/hold/ui/CountActivity;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const v1, 0x7f05002b

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    invoke-static {v0}, Lcom/direction/hold/ui/CountActivity;->c(Lcom/direction/hold/ui/CountActivity;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const-string v1, "  ?  "

    invoke-static {v1}, Lcn/cheln/support/app/a;->f(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    invoke-static {v0}, Lcom/direction/hold/ui/CountActivity;->c(Lcom/direction/hold/ui/CountActivity;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v7}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const-string v1, "0 B"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    invoke-static {v0}, Lcom/direction/hold/ui/CountActivity;->c(Lcom/direction/hold/ui/CountActivity;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iget-object v1, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    iget-object v1, v1, Lcom/direction/hold/ui/CountActivity;->E:Landroid/view/View$OnClickListener;

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    iget-object v1, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    const v2, 0x7f08000b

    invoke-virtual {v1, v2}, Lcom/direction/hold/ui/CountActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/direction/hold/ui/CountActivity;->c(Lcom/direction/hold/ui/CountActivity;Landroid/view/View;)Landroid/view/View;

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    invoke-static {v0}, Lcom/direction/hold/ui/CountActivity;->d(Lcom/direction/hold/ui/CountActivity;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    const v1, 0x7f02004e

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    invoke-static {v0}, Lcom/direction/hold/ui/CountActivity;->d(Lcom/direction/hold/ui/CountActivity;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const v1, 0x7f05002a

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    invoke-static {v0}, Lcom/direction/hold/ui/CountActivity;->d(Lcom/direction/hold/ui/CountActivity;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const-string v1, "  ?  "

    invoke-static {v1}, Lcn/cheln/support/app/a;->f(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    invoke-static {v0}, Lcom/direction/hold/ui/CountActivity;->d(Lcom/direction/hold/ui/CountActivity;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v7}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const-string v1, "0 B"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    invoke-static {v0}, Lcom/direction/hold/ui/CountActivity;->d(Lcom/direction/hold/ui/CountActivity;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iget-object v1, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    iget-object v1, v1, Lcom/direction/hold/ui/CountActivity;->E:Landroid/view/View$OnClickListener;

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    iget-object v1, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    const v2, 0x7f08000c

    invoke-virtual {v1, v2}, Lcom/direction/hold/ui/CountActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/direction/hold/ui/CountActivity;->d(Lcom/direction/hold/ui/CountActivity;Landroid/view/View;)Landroid/view/View;

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    invoke-static {v0}, Lcom/direction/hold/ui/CountActivity;->e(Lcom/direction/hold/ui/CountActivity;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    const v1, 0x7f02000d

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    invoke-static {v0}, Lcom/direction/hold/ui/CountActivity;->e(Lcom/direction/hold/ui/CountActivity;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const v1, 0x7f05002c

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    invoke-static {v0}, Lcom/direction/hold/ui/CountActivity;->e(Lcom/direction/hold/ui/CountActivity;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const-string v1, "  ?  "

    invoke-static {v1}, Lcn/cheln/support/app/a;->f(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    invoke-static {v0}, Lcom/direction/hold/ui/CountActivity;->e(Lcom/direction/hold/ui/CountActivity;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v7}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const-string v1, "0 B"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    invoke-static {v0}, Lcom/direction/hold/ui/CountActivity;->e(Lcom/direction/hold/ui/CountActivity;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iget-object v1, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    iget-object v1, v1, Lcom/direction/hold/ui/CountActivity;->E:Landroid/view/View$OnClickListener;

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    iget-object v1, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    const v2, 0x7f08000d

    invoke-virtual {v1, v2}, Lcom/direction/hold/ui/CountActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/direction/hold/ui/CountActivity;->e(Lcom/direction/hold/ui/CountActivity;Landroid/view/View;)Landroid/view/View;

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    invoke-static {v0}, Lcom/direction/hold/ui/CountActivity;->f(Lcom/direction/hold/ui/CountActivity;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    const v1, 0x7f020001

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    invoke-static {v0}, Lcom/direction/hold/ui/CountActivity;->f(Lcom/direction/hold/ui/CountActivity;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const v1, 0x7f05002d

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    invoke-static {v0}, Lcom/direction/hold/ui/CountActivity;->f(Lcom/direction/hold/ui/CountActivity;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const-string v1, "  ?  "

    invoke-static {v1}, Lcn/cheln/support/app/a;->f(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    invoke-static {v0}, Lcom/direction/hold/ui/CountActivity;->f(Lcom/direction/hold/ui/CountActivity;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v7}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const-string v1, "0 B"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    invoke-static {v0}, Lcom/direction/hold/ui/CountActivity;->f(Lcom/direction/hold/ui/CountActivity;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iget-object v1, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    iget-object v1, v1, Lcom/direction/hold/ui/CountActivity;->E:Landroid/view/View$OnClickListener;

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->a(Z)V

    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b(Z)V

    return-void
.end method

.method public final a(Ljava/lang/Boolean;)V
    .locals 13

    :try_start_0
    invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_3

    const/4 v0, 0x1

    invoke-direct {p0, v0}, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->a(Z)V

    const/4 v0, 0x1

    invoke-direct {p0, v0}, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b(Z)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    const v1, 0x7f080008

    invoke-virtual {v0, v1}, Lcom/direction/hold/ui/CountActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    sget-object v1, Lcn/cheln/explorer/ds/database/c;->a:Ljava/util/Map;

    const-string v2, "audio"

    invoke-interface {v1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcn/cheln/explorer/ds/database/a;

    iget-object v1, p1, Lcn/cheln/explorer/ds/database/a;->a:Lcn/cheln/explorer/ds/database/CategoryInfo;

    invoke-static {v0, v1}, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->a(Landroid/view/View;Lcn/cheln/explorer/ds/database/CategoryInfo;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    invoke-static {v0}, Lcom/direction/hold/ui/CountActivity;->c(Lcom/direction/hold/ui/CountActivity;)Landroid/view/View;

    move-result-object v0

    const v1, 0x7f08000a

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    sget-object v1, Lcn/cheln/explorer/ds/database/c;->a:Ljava/util/Map;

    const-string v2, "image"

    invoke-interface {v1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcn/cheln/explorer/ds/database/a;

    iget-object v1, p1, Lcn/cheln/explorer/ds/database/a;->a:Lcn/cheln/explorer/ds/database/CategoryInfo;

    invoke-static {v0, v1}, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->a(Landroid/view/View;Lcn/cheln/explorer/ds/database/CategoryInfo;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    const v1, 0x7f08000b

    invoke-virtual {v0, v1}, Lcom/direction/hold/ui/CountActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    sget-object v1, Lcn/cheln/explorer/ds/database/c;->a:Ljava/util/Map;

    const-string v2, "video"

    invoke-interface {v1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcn/cheln/explorer/ds/database/a;

    iget-object v1, p1, Lcn/cheln/explorer/ds/database/a;->a:Lcn/cheln/explorer/ds/database/CategoryInfo;

    invoke-static {v0, v1}, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->a(Landroid/view/View;Lcn/cheln/explorer/ds/database/CategoryInfo;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    const v1, 0x7f08000c

    invoke-virtual {v0, v1}, Lcom/direction/hold/ui/CountActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    sget-object v1, Lcn/cheln/explorer/ds/database/c;->a:Ljava/util/Map;

    const-string v2, "doc"

    invoke-interface {v1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcn/cheln/explorer/ds/database/a;

    iget-object v1, p1, Lcn/cheln/explorer/ds/database/a;->a:Lcn/cheln/explorer/ds/database/CategoryInfo;

    invoke-static {v0, v1}, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->a(Landroid/view/View;Lcn/cheln/explorer/ds/database/CategoryInfo;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    const v1, 0x7f08000d

    invoke-virtual {v0, v1}, Lcom/direction/hold/ui/CountActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    sget-object v1, Lcn/cheln/explorer/ds/database/c;->a:Ljava/util/Map;

    const-string v2, "apk"

    invoke-interface {v1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcn/cheln/explorer/ds/database/a;

    iget-object v1, p1, Lcn/cheln/explorer/ds/database/a;->a:Lcn/cheln/explorer/ds/database/CategoryInfo;

    invoke-static {v0, v1}, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->a(Landroid/view/View;Lcn/cheln/explorer/ds/database/CategoryInfo;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    const v1, 0x7f080015

    invoke-virtual {v0, v1}, Lcom/direction/hold/ui/CountActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object p1

    check-cast p1, Landroid/widget/LinearLayout$LayoutParams;

    iget-object v1, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->k:Lcom/direction/hold/ui/CommonActivity;

    invoke-static {v1}, Lcn/cheln/support/app/a;->a(Landroid/app/Activity;)I

    move-result v1

    int-to-double v1, v1

    const-wide v3, 0x3fee666666666666L

    mul-double/2addr v1, v3

    invoke-static {v1, v2}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Double;->intValue()I

    move-result v1

    iput v1, p1, Landroid/widget/LinearLayout$LayoutParams;->width:I

    invoke-virtual {v0, p1}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    iget v0, v0, Landroid/view/ViewGroup$LayoutParams;->width:I

    int-to-long v0, v0

    iget-object v2, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    invoke-static {v2}, Lcom/direction/hold/ui/CountActivity;->g(Lcom/direction/hold/ui/CountActivity;)Ljava/util/Map;

    move-result-object v2

    if-eqz v2, :cond_0

    iget-object v2, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    invoke-static {v2}, Lcom/direction/hold/ui/CountActivity;->g(Lcom/direction/hold/ui/CountActivity;)Ljava/util/Map;

    move-result-object v2

    invoke-interface {v2}, Ljava/util/Map;->isEmpty()Z

    move-result v2

    if-eqz v2, :cond_1

    :cond_0
    iget-object v2, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    sget-object v3, Lcn/cheln/explorer/ds/a/b;->c:Ljava/lang/String;

    invoke-static {v3}, Lcn/cheln/support/app/a;->e(Ljava/lang/String;)Ljava/util/HashMap;

    move-result-object v3

    invoke-static {v2, v3}, Lcom/direction/hold/ui/CountActivity;->a(Lcom/direction/hold/ui/CountActivity;Ljava/util/Map;)Ljava/util/Map;

    :cond_1
    iget-object v2, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    invoke-static {v2}, Lcom/direction/hold/ui/CountActivity;->g(Lcom/direction/hold/ui/CountActivity;)Ljava/util/Map;

    move-result-object v2

    const-string v3, "totalSize"

    invoke-interface {v2, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Ljava/lang/Long;

    invoke-virtual {p1}, Ljava/lang/Long;->floatValue()F

    move-result v2

    invoke-static {v2}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;

    move-result-object v2

    invoke-static {}, Lcn/cheln/explorer/ds/database/c;->a()Ljava/util/Map;

    move-result-object v3

    const-string v4, "audio"

    invoke-interface {v3, v4}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcn/cheln/explorer/ds/database/a;

    iget-object v3, p1, Lcn/cheln/explorer/ds/database/a;->a:Lcn/cheln/explorer/ds/database/CategoryInfo;

    iget-object v3, v3, Lcn/cheln/explorer/ds/database/CategoryInfo;->length:Ljava/lang/Float;

    invoke-virtual {v3}, Ljava/lang/Float;->floatValue()F

    move-result v3

    invoke-virtual {v2}, Ljava/lang/Float;->floatValue()F

    move-result v4

    div-float/2addr v3, v4

    invoke-static {v3}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;

    move-result-object v3

    invoke-static {}, Lcn/cheln/explorer/ds/database/c;->a()Ljava/util/Map;

    move-result-object v4

    const-string v5, "image"

    invoke-interface {v4, v5}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcn/cheln/explorer/ds/database/a;

    iget-object v4, p1, Lcn/cheln/explorer/ds/database/a;->a:Lcn/cheln/explorer/ds/database/CategoryInfo;

    iget-object v4, v4, Lcn/cheln/explorer/ds/database/CategoryInfo;->length:Ljava/lang/Float;

    invoke-virtual {v4}, Ljava/lang/Float;->floatValue()F

    move-result v4

    invoke-virtual {v2}, Ljava/lang/Float;->floatValue()F

    move-result v5

    div-float/2addr v4, v5

    invoke-static {v4}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;

    move-result-object v4

    invoke-static {}, Lcn/cheln/explorer/ds/database/c;->a()Ljava/util/Map;

    move-result-object v5

    const-string v6, "video"

    invoke-interface {v5, v6}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcn/cheln/explorer/ds/database/a;

    iget-object v5, p1, Lcn/cheln/explorer/ds/database/a;->a:Lcn/cheln/explorer/ds/database/CategoryInfo;

    iget-object v5, v5, Lcn/cheln/explorer/ds/database/CategoryInfo;->length:Ljava/lang/Float;

    invoke-virtual {v5}, Ljava/lang/Float;->floatValue()F

    move-result v5

    invoke-virtual {v2}, Ljava/lang/Float;->floatValue()F

    move-result v6

    div-float/2addr v5, v6

    invoke-static {v5}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;

    move-result-object v5

    invoke-static {}, Lcn/cheln/explorer/ds/database/c;->a()Ljava/util/Map;

    move-result-object v6

    const-string v7, "doc"

    invoke-interface {v6, v7}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcn/cheln/explorer/ds/database/a;

    iget-object v6, p1, Lcn/cheln/explorer/ds/database/a;->a:Lcn/cheln/explorer/ds/database/CategoryInfo;

    iget-object v6, v6, Lcn/cheln/explorer/ds/database/CategoryInfo;->length:Ljava/lang/Float;

    invoke-virtual {v6}, Ljava/lang/Float;->floatValue()F

    move-result v6

    invoke-virtual {v2}, Ljava/lang/Float;->floatValue()F

    move-result v7

    div-float/2addr v6, v7

    invoke-static {v6}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;

    move-result-object v6

    invoke-static {}, Lcn/cheln/explorer/ds/database/c;->a()Ljava/util/Map;

    move-result-object v7

    const-string v8, "apk"

    invoke-interface {v7, v8}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcn/cheln/explorer/ds/database/a;

    iget-object v7, p1, Lcn/cheln/explorer/ds/database/a;->a:Lcn/cheln/explorer/ds/database/CategoryInfo;

    iget-object v7, v7, Lcn/cheln/explorer/ds/database/CategoryInfo;->length:Ljava/lang/Float;

    invoke-virtual {v7}, Ljava/lang/Float;->floatValue()F

    move-result v7

    invoke-virtual {v2}, Ljava/lang/Float;->floatValue()F

    move-result v8

    div-float/2addr v7, v8

    invoke-static {v7}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;

    move-result-object v7

    const/4 v8, 0x0

    invoke-static {v8}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;

    move-result-object v8

    invoke-virtual {v3}, Ljava/lang/Float;->floatValue()F

    move-result v9

    invoke-virtual {v4}, Ljava/lang/Float;->floatValue()F

    move-result v10

    add-float/2addr v9, v10

    invoke-virtual {v5}, Ljava/lang/Float;->floatValue()F

    move-result v10

    add-float/2addr v9, v10

    invoke-virtual {v6}, Ljava/lang/Float;->floatValue()F

    move-result v10

    add-float/2addr v9, v10

    invoke-virtual {v7}, Ljava/lang/Float;->floatValue()F

    move-result v10

    add-float/2addr v9, v10

    invoke-static {v9}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;

    move-result-object v9

    const/high16 v10, 0x3f80

    invoke-static {}, Lcn/cheln/support/app/a;->b()Ljava/lang/Long;

    move-result-object v11

    invoke-virtual {v11}, Ljava/lang/Long;->longValue()J

    move-result-wide v11

    long-to-float v11, v11

    invoke-virtual {v2}, Ljava/lang/Float;->floatValue()F

    move-result v2

    div-float v2, v11, v2

    sub-float v2, v10, v2

    invoke-virtual {v9}, Ljava/lang/Float;->floatValue()F

    move-result v10

    sub-float/2addr v2, v10

    invoke-static {v2}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;

    move-result-object v2

    const/4 v10, 0x0

    invoke-virtual {v9}, Ljava/lang/Float;->floatValue()F

    move-result v9

    cmpl-float v9, v10, v9

    if-eqz v9, :cond_2

    iget-object v9, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    const v10, 0x7f080016

    invoke-virtual {v9, v10}, Lcom/direction/hold/ui/CountActivity;->findViewById(I)Landroid/view/View;

    move-result-object v9

    invoke-virtual {v9}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v9

    invoke-virtual {v3}, Ljava/lang/Float;->floatValue()F

    move-result v3

    long-to-float v10, v0

    mul-float/2addr v3, v10

    invoke-static {v3}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/Float;->intValue()I

    move-result v3

    iput v3, v9, Landroid/view/ViewGroup$LayoutParams;->width:I

    iget-object v3, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    const v10, 0x7f080017

    invoke-virtual {v3, v10}, Lcom/direction/hold/ui/CountActivity;->findViewById(I)Landroid/view/View;

    move-result-object v3

    invoke-virtual {v3}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v3

    invoke-virtual {v4}, Ljava/lang/Float;->floatValue()F

    move-result v4

    long-to-float v10, v0

    mul-float/2addr v4, v10

    invoke-static {v4}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/Float;->intValue()I

    move-result v4

    iput v4, v3, Landroid/view/ViewGroup$LayoutParams;->width:I

    iget-object v4, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    const v10, 0x7f080018

    invoke-virtual {v4, v10}, Lcom/direction/hold/ui/CountActivity;->findViewById(I)Landroid/view/View;

    move-result-object v4

    invoke-virtual {v4}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v4

    invoke-virtual {v5}, Ljava/lang/Float;->floatValue()F

    move-result v5

    long-to-float v10, v0

    mul-float/2addr v5, v10

    invoke-static {v5}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/Float;->intValue()I

    move-result v5

    iput v5, v4, Landroid/view/ViewGroup$LayoutParams;->width:I

    iget-object v5, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    const v10, 0x7f080019

    invoke-virtual {v5, v10}, Lcom/direction/hold/ui/CountActivity;->findViewById(I)Landroid/view/View;

    move-result-object v5

    invoke-virtual {v5}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v5

    invoke-virtual {v6}, Ljava/lang/Float;->floatValue()F

    move-result v6

    long-to-float v10, v0

    mul-float/2addr v6, v10

    invoke-static {v6}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;

    move-result-object v6

    invoke-virtual {v6}, Ljava/lang/Float;->intValue()I

    move-result v6

    iput v6, v5, Landroid/view/ViewGroup$LayoutParams;->width:I

    iget-object v6, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    const v10, 0x7f08001a

    invoke-virtual {v6, v10}, Lcom/direction/hold/ui/CountActivity;->findViewById(I)Landroid/view/View;

    move-result-object v6

    invoke-virtual {v6}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v6

    invoke-virtual {v7}, Ljava/lang/Float;->floatValue()F

    move-result v7

    long-to-float v10, v0

    mul-float/2addr v7, v10

    invoke-static {v7}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/Float;->intValue()I

    move-result v7

    iput v7, v6, Landroid/view/ViewGroup$LayoutParams;->width:I

    iget-object v7, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    const v10, 0x7f08001b

    invoke-virtual {v7, v10}, Lcom/direction/hold/ui/CountActivity;->findViewById(I)Landroid/view/View;

    move-result-object v7

    invoke-virtual {v7}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v7

    invoke-virtual {v8}, Ljava/lang/Float;->floatValue()F

    move-result v8

    long-to-float v10, v0

    mul-float/2addr v8, v10

    invoke-static {v8}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;

    move-result-object v8

    invoke-virtual {v8}, Ljava/lang/Float;->intValue()I

    move-result v8

    iput v8, v7, Landroid/view/ViewGroup$LayoutParams;->width:I

    iget-object v8, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    const v10, 0x7f08001c

    invoke-virtual {v8, v10}, Lcom/direction/hold/ui/CountActivity;->findViewById(I)Landroid/view/View;

    move-result-object v8

    invoke-virtual {v8}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v8

    invoke-virtual {v2}, Ljava/lang/Float;->floatValue()F

    move-result v2

    long-to-float v0, v0

    mul-float/2addr v0, v2

    invoke-static {v0}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Float;->intValue()I

    move-result v0

    iput v0, v8, Landroid/view/ViewGroup$LayoutParams;->width:I

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    const v1, 0x7f080016

    invoke-virtual {v0, v1}, Lcom/direction/hold/ui/CountActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v9}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    const v1, 0x7f080017

    invoke-virtual {v0, v1}, Lcom/direction/hold/ui/CountActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v3}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    const v1, 0x7f080018

    invoke-virtual {v0, v1}, Lcom/direction/hold/ui/CountActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v4}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    const v1, 0x7f080019

    invoke-virtual {v0, v1}, Lcom/direction/hold/ui/CountActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v5}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    const v1, 0x7f08001a

    invoke-virtual {v0, v1}, Lcom/direction/hold/ui/CountActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v6}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    const v1, 0x7f08001b

    invoke-virtual {v0, v1}, Lcom/direction/hold/ui/CountActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v7}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    const v1, 0x7f08001c

    invoke-virtual {v0, v1}, Lcom/direction/hold/ui/CountActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v8}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    :cond_2
    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    const v1, 0x7f080022

    invoke-virtual {v0, v1}, Lcom/direction/hold/ui/CountActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v1

    iget-object v2, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->k:Lcom/direction/hold/ui/CommonActivity;

    invoke-static {v2}, Lcn/cheln/support/app/a;->a(Landroid/app/Activity;)I

    move-result v2

    int-to-double v2, v2

    const-wide v4, 0x3fee666666666666L

    mul-double/2addr v2, v4

    invoke-static {v2, v3}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Double;->intValue()I

    move-result v2

    iput v2, v1, Landroid/view/ViewGroup$LayoutParams;->width:I

    invoke-virtual {v0, v1}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    iget v0, v0, Landroid/view/ViewGroup$LayoutParams;->width:I

    int-to-long v0, v0

    const/high16 v2, 0x3f80

    invoke-static {}, Lcn/cheln/support/app/a;->a()Ljava/lang/Long;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/Long;->floatValue()F

    move-result v3

    invoke-static {}, Lcn/cheln/support/app/a;->c()Ljava/lang/Long;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/Long;->floatValue()F

    move-result v4

    div-float/2addr v3, v4

    sub-float/2addr v2, v3

    invoke-static {v2}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;

    move-result-object v2

    iget-object v3, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    const v4, 0x7f080023

    invoke-virtual {v3, v4}, Lcom/direction/hold/ui/CountActivity;->findViewById(I)Landroid/view/View;

    move-result-object v3

    invoke-virtual {v3}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v3

    invoke-virtual {v2}, Ljava/lang/Float;->floatValue()F

    move-result v2

    long-to-float v0, v0

    mul-float/2addr v0, v2

    invoke-static {v0}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Float;->intValue()I

    move-result v0

    iput v0, v3, Landroid/view/ViewGroup$LayoutParams;->width:I

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    const v1, 0x7f080023

    invoke-virtual {v0, v1}, Lcom/direction/hold/ui/CountActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v3}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :cond_3
    :goto_0
    return-void

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_0
.end method

.method public final varargs a([Ljava/lang/Object;)V
    .locals 0

    return-void
.end method

.method public final b()V
    .locals 1

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->a:Z

    return-void
.end method

.method public final c()V
    .locals 2

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    iget-boolean v0, v0, Lcom/direction/hold/ui/CountActivity;->A:Z

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    invoke-virtual {v0}, Lcom/direction/hold/ui/CountActivity;->D()V

    :cond_0
    iget-object v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    invoke-static {v0}, Lcom/direction/hold/ui/CountActivity;->h(Lcom/direction/hold/ui/CountActivity;)Z

    move-result v0

    if-eqz v0, :cond_1

    const/16 v0, 0x8

    :goto_0
    iget-object v1, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->b:Lcom/direction/hold/ui/CountActivity;

    invoke-virtual {v1, v0}, Lcom/direction/hold/ui/CountActivity;->d(I)V

    iget-boolean v0, p0, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->a:Z

    invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/direction/hold/ui/CountActivity$HomeViewHolder;->a(Ljava/lang/Boolean;)V

    return-void

    :cond_1
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public final d()V
    .locals 0

    return-void
.end method
